package com.adrian.mapper;

import com.adrian.pojo.Product;

import java.util.List;

/**
 * @Auther: Adrian
 * @Date: 2020/3/20 12:00
 * @Description:
 */
public interface ProductMapper {

    /**
     * 查询商品
     * @return
     */
    List<Product> getProudect();

    int addPrdouct(Product product);

    public int deleteProduct(int pid);

    public Product getById(int pid);


    public int updateById(Product product);
}
